package response

const (
	CSuccess int16 = 200
)

const (
	ErrBadRequest     int16 = 400
	ErrUnAuthorize    int16 = 401 // params error
	ErrForbidden      int16 = 403 // params error
	ErrNotFound       int16 = 404
	ErrRequestTimeout int16 = 408
	ErrInternal       int16 = 500
	ErrUnAvailable    int16 = 503
	ErrFrequence      int16 = 577

	ErrAgentID             int16 = 600 // invalid operator id
	ErrUsername            int16 = 601
	ErrSign                int16 = 602
	ErrUserLocked          int16 = 603
	ErrCurrency            int16 = 604
	ErrAmount              int16 = 605
	ErrWalletType          int16 = 606
	ErrDuplicate           int16 = 607
	ErrInsufficientBalance int16 = 608
	ErrDateRange           int16 = 609
	ErrAutoCash            int16 = 610

	ErrDevice int16 = 650
	ErrMT     int16 = 777
)

const (
	ErrAdminLocked int16 = 1001
	ErrAdminExists int16 = 1002
)
